import menu1 from "@/router/modules/vertical_menus/menu1";
import menu2 from "@/router/modules/vertical_menus/menu2";
import menu3 from "@/router/modules/vertical_menus/menu3";
import menu4 from "@/router/modules/vertical_menus/menu4";
import menu5 from "@/router/modules/vertical_menus/menu5";
import menu6 from "@/router/modules/vertical_menus/menu6";
import menu8 from "@/router/modules/vertical_menus/menu8";




const vertical = {
  path: '/vertical',
  name: 'index',
  type:'vertical',
  component: () =>
    import( /* webpackChunkName: "about" */ '@/views/main.vue'),
  children: [//每一个子项得meta中可以设置showHelpInfo属性用来引导，可以是字符串可以是对象，字符串字节就是显示内容，对象是针对，内容为html的情况
    menu1,
    menu6,
    menu2,
    menu3,
    menu4,
    menu5,
    menu8,
    // menu7,
    {
      path: '404',
      component: () => import('@/views/tip-page/404.vue'),
      hidden: true
    },
// 404 page must be placed at the end !!!
    { path: '*', redirect: '/vertical/404', hidden: true }
  ]
}


export default vertical
